package com.ln.lnzw.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ln.lnzw.R;
import com.ln.lnzw.bean.HotItemsBean;

import java.util.List;

/**
 * Created by wuwei on 2018/3/30.
 */

public class HotItemsAdapter  extends BaseQuickAdapter<HotItemsBean.ResultBean,BaseViewHolder>{
    public HotItemsAdapter(int layoutResId, @Nullable List<HotItemsBean.ResultBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, HotItemsBean.ResultBean item) {
        helper.setText(R.id.tv_hot_items, item.getProcessName());

    }
}
